<?php

$req = $_POST;

/*
 * 配置
*/
$foreign_key = 'sid';
$comment = array(
	'table'=>"`dxc`.`dxc_message`",
	'keyvalue' => array(
	'uid'=>1,
	$foreign_key=>intval($req['cfid']),
	//'username'=>$req['name'] ? $req['name'] : '网友',
	'content'=>$req['content'],
	'createtime'=>time(),
	//'ip'=>$_SERVER['REMOTE_ADDR'],
	),
	'limit'=>5,
	'cookiename'=>'xda_comment',
);


?>